<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>
    <div th:fragment="fgScrollUp">
        <script src="https://cdn.jsdelivr.net/gh/markgoodyear/scrollup@2.4.1/dist/jquery.scrollUp.min.js"></script>
        <a id="scrollUp" href="#top" style="position: fixed; z-index: 2147483647;display:none;">
            <i class="fa fa-angle-up"></i>
        </a>
    </div>
</body>
</html>